package command;

import domain.User;


public class UpdatePasswordForm {
	private String current;
	private String password;
	private String password2;
	
	public UpdatePasswordForm(){
	}
	
	public void update(User user){
		user.setPassword(password);
	}
	
	public String getCurrent() {
		return current;
	}
	public void setCurrent(String current) {
		this.current = current;
	}	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}	
	public void setPassword2(String password2) {
		this.password2 = password2;
	}
	public String getPassword2() {
		return password2;
	}
}
